<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%String baseUrl = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/"; %>
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.messager.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/bootstrap.min.js"></script>
<jsp:include page="../admin_head.jsp">
	<jsp:param value="用户信息" name="title" />
</jsp:include>
</head>
<body>
	<div class="container-fluid" >
		<div class="row">
			<div class="col-md-2"></div>
			<div class="col-md-8">
				<div class="panel panel-success" align="center">
				<div class="panel-heading">
				<h1>课堂教学质量评价系统</h1><br/>当前用户:${user.nickName }&nbsp;&nbsp;&nbsp;
						当前用户角色：${user.userRole }
				&nbsp;&nbsp;&nbsp;&nbsp;<a href="userlist.action?userId=${user.id }"><button class="btn btn-sm btn-success">首页</button></a>
						<a href="${pageContext.request.contextPath }/user/user.action"> <button class="btn btn-sm btn-danger" > <B> 退出登录 </B> </button> </a></div>
				</div>
				<jsp:include page="../user/admin_nav.jsp">
					<jsp:param value="用户界面" name="title" />
				</jsp:include>
				<div class="panel panel-success">
				<div class="panel panel-primary" style="margin-top:15px;margin-left: 300px;width:900px">
					<div class="panel-heading"> <h3 class="panel-title">评价标准</h3> </div>
					<div class="panel-body" >
						<form method="post" action="addEi.action">
							<input type="hidden" name="userId" value="${user.id }">
							<input type="hidden" name="adderId" value="${user.id }">
							<div style="width: 400px; margin-left: 230px">
								<div class="input-group">
									<span class="input-group-addon">评价标准名称</span> 
									<textarea name="name" class="form-control" rows="3" ></textarea>
								</div>
							</div>
							<div style="width: 400px; margin-left: 230px">
								<div class="input-group">
									<span class="input-group-addon">添加者</span> 
									<input type="text"  class="form-control" readonly="readonly" value="${user.nickName }">
								</div>
							</div>
							<button class="btn btn-primary" style="width: 400px; margin-top: 30px; margin-left: 230px" type="submit">提交</button>
						</form>
						<a href="userlist.action?userId=${user.id }">
						<button class="btn btn-default" style="width: 400px; margin-top: 20px;margin-left: 230px">返回</button>
						</a>
					</div>
				</div>
				</div>
			</div>
			<div class="col-md-2"></div>
		</div>
	</div>
</body>
</html>